import { donors } from "./donorStatic";
const db = wx.cloud.database();

// 初始化
export const initDonorTable = async () => {
    donors.forEach(async (donor) => {
      db.collection("donor").add({
        data: donor,
        success: res => {
          console.log("add success: " + res);
        },
      })
    })
  }